1) Triggers market buy orders and market sell orders based on the Stochastic Oscillator.
- When a Main Line Crosses Above Signal line and candle closes, trigger a market buy order
- After the trade has been triggered, EA will add TP points to the buy entry price and feed in the take profit level. Or EA will subtract TP points to the sell entry price and feed in the take profit level.
- When a Main Line Crosses Below Signal line and candle closes, trigger a market sell order
- After the trade has been triggered, EA will add TP points to the buy entry price and feed in the take profit level. Or EA will subtract TP points to the sell entry price and feed in the take profit level.
* Note - Changing the settings should not trigger a trade
* Note - Changing the timeframe should not trigger a trade

2) Uses a Main Trade / Counter Trade system instead of a stop loss
- When there are no active trades, the first trade placed is going to be a MT trade. 
- If this trade exits with profit the next trade is again going to be a MT and this will keep going on. 
- If the MT is Active, and a new signal is generated, this is going to be a CT (Counter Trade). 
- The CT will be larger in size. The size will be automatically calculated by the EA (Formula given below)
- If the CT profit is $40 and the MT loss is smaller for example $35, EA will close the MT when the CT closes with profit. 
- If the CT profit is $40 and the MT loss is larger for example $52, EA will partially close lots of MT when the CT closes... just enough to off set the $40 profit. Never more than this $40 profit.
- EA will then place another CT trade and adjust its profit against losses of an MT trade.
- EA will also place CT trades to adjust losses of other active CT trades.
- Once all MT and CT trades are closed, the EA will go back and start placing MT trades.

3) Here is what the Inputs Section will look like:
%K = 5
%D = 3
Slowing = 3
Field = Low/High
Method = Simple / Exponential etc...
=================
Trade MT = True/False
(If i turn this to false, then it will not place anymore MT trades. It will continue to place CT trades if needed)
=================
MT Trade Size = 0.05 lots (Main Trade Size)
MT Take Profit = 50 points (Main Trade Take Profit)
CT Take Profit = 50 points (Counter Trade Take Profit)
CT Margin = $5.00 ($X)
=================
(When a trade is triggered, these comments will be shown in the terminal)
Stochastic MT Buy Comment = "xxxx" 
Stochastic MT Sell Comment = "xxxx"
Stochastic CT Buy Comment = "xxxx"
Stochastic CT Sell Comment = "xxxx"
=================
Filters Needed:
Start Trading Time: 00:45
End Trading Time: 22:00
Maximum Active Buy lots = 5.00 (Explaination given in point 4 below)
Maximum Active Sell lots = 5.00 (Explaination given in point 5 below)
Maximum Spread = 25 points (if the spread is larger than 25 points the EA will not trigger a trade even if there is a valid signal and arrow)
=================
Magic #: xxxxxxxx
Spread: 20
=================

Example:
- IF closing price is 2625.40 and the main line is above the signal line
- Generate & Display Buy arrow on the main chart
- Trigger market buy order MT = 0.05 lots at 2625.40
- Due to slippage, the market buy order might trigger at 2625.46
- Now it will place a TP of 50 points = 2625.96 into the system 
- Vice versa for sell orders.
- If the 2nd, 3rd, 4th and so candles also has a main line that is above the signal line - No Arrow will be triggered and No order will be placed.
- IF the price drops to 2621.80 and a sell arrow is generated, EA will trigger a CT Sell order with TP points given in the settings = 50 points
- It must now Automatically calculate Loss being made on the MT buy order.
- The EA sees that the exit point of the CT order is going to be at 2621.80-0.50 = 2621.30
- The EA calculates the loss of this MT trade using the exit price of the CT order 
(2625.46 - 2621.30) x 100 x 0.05 lots = $20.80 loss on MT order
- EA then adds the CT Margin of $5 which gives us the total profit needed on CT order = 
$20.80 + $5 = $25.80
- Since the CT take profit = 50 points, ($25.80 / 50) = 0.516 lots needs to be placed. Therefore the CT Size is going to 0.52 lots

The Formula to Automatically Calculate CT Size:
For CT Buy orders 
[{(Exit price of CT trade - Entry price of Loss making trade) x 100 x Size of Loss making trade} + CT Margin]/CT Take Profit]
For CT Sell orders 
[{(Entry price of Loss making trade - Exit price of CT trade) x 100 x Size of Loss making trade} + CT Margin]/CT Take Profit]

**A CT TRADE Will Always Calculate Loss Of the First Active Loss Making Trade! Here is another example to clarify**
- MT Buy order is placed at 2650.00
- Price moves down to 2640.00
- New sell signal is generated. CT trade calculates loss of MT buy trade placed at 2650.00
- Price moves up to 2645.00 (Both the MT & CT trades are active)
- A New buy signal is generated. CT trade calculates loss of MT trade placed at 2650.00
When the MT trace has been closed, we only have a Sell CT trade active at 2640.00
- New sell signal is generated. CT trade calculates loss of CT Sell trade placed at 2640.00 and so on...

4) Maximum Active Buy lots = 5.00
If there is a active buy MT of 0.25 lots
A new buy needs to be placed of 6.50, the EA will place a maximum of 5 active lots so it will place 4.75 lots instead of not placing any trade at all.
5) Maximum Active Sell lots = 5.00
If there is a active sell MT of 1.50 lots
A new buy needs to be placed of 14.10, the EA will place a maximum of 5 active lots so it will place 3.50 lots instead of not placing any trade at all.

*The EA has to trigger recovery trades to eliminate other recovery trades as well.*
*All recovery trades must attempt to close the active trade that was placed FIRST!*


